package com.weihong.it.edi.datasource;

import org.aspectj.lang.JoinPoint;

/**
 * todo
 */
public class DataSourceInterceptor {

    public void setdataSourceMysql(JoinPoint jp) {
        DataSourceHolder.setDataSource("mysql");
    }

    public void setdataSourceSqlserver(JoinPoint jp) {
        DataSourceHolder.setDataSource("sqlserver");
    }
}